package com.navinfo.platform.bean;


import com.navinfo.platform.util.EntityConvert;

import com.navinfo.opentsp.platform.location.protocol.common.LCPredictiveMaintenanceD00B;

public class MaintenanceEvent1D00BDto {






    public static MaintenanceEvent1D00BDto parseProto(LCPredictiveMaintenanceD00B.MaintenanceEvent1 maintenanceEvent1){
        MaintenanceEvent1D00BDto maintenanceEvent1Dto = new MaintenanceEvent1D00BDto();



        return maintenanceEvent1Dto;
    }

    /**
     * 解析成String拼接字符串
     * @param maintenanceEvent1
     * @return
     */
    public static String parseString(LCPredictiveMaintenanceD00B.MaintenanceEvent1 maintenanceEvent1){
        return "";

    }

    /**
     * 反解析成PB对象
     * @param str
     * @return
     */
    public static LCPredictiveMaintenanceD00B.MaintenanceEvent1 parsePB(String str){
        LCPredictiveMaintenanceD00B.MaintenanceEvent1.Builder builder = null;
        try{
            String[] revert = EntityConvert.revert(str);

        }catch (Exception e){
            e.printStackTrace();
        }

        return builder==null? null : builder.build();
    }

}
